package cn.wolfcode.mongo.repository;

import cn.wolfcode.mongo.domain.User;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMongoRepository extends MongoRepository<User,String> {
    User queryByName(String name);
}
